#ifndef _TEXTURE_NOISETEXTURE_H_
#define _TEXTURE_NOISETEXTURE_H_

#include <cmath>
#include "Texture.h"
#include "SolidNoise.h"

class NoiseTexture : public Texture
{
public:
	NoiseTexture(float _scale = 1.0f);
	NoiseTexture(const rgb& _c0, const rgb& _c1, float _scale = 1.0f);

	virtual rgb value(const Vector2& uv, const Vector3& p) const;

	float scale;
	rgb c0, c1;
	SolidNoise solid_noise;
};

#endif